package com.lin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.pojo.SysMenus;
import com.lin.pojo.SysRoles;
import com.lin.pojo.SysUsers;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;

import java.util.List;

public interface SysRolesMapper extends BaseMapper<SysRoles> {

    List<SysRoles> querybyroles(@Param("users") SysUsers users);

    List<SysMenus> querybyMenus(@Param("users") SysUsers users,@Param("id") Integer id);

}